aboutsummaryrefslogtreecommitdiffstats
path: root/spring-front/docker-compose.yaml
blob: 828b0cc27cc78f3a697198448c478bcd43c2c61b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: "3"
services:
  react:
    image: spring-front
    build:
      context: .
    ports:
      - "7080:443"
    networks:
      - reactnet
    restart: unless-stopped
    cap_drop:
      - ALL
    cap_add:
      - CHOWN
      - DAC_OVERRIDE
      - SETGID
      - SETUID
      - NET_BIND_SERVICE
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf:ro
    # env:
    #   - SERVER_DEPLOYMENT_KIND=test
networks:
  reactnet: