aboutsummaryrefslogblamecommitdiffstats
path: root/terminaldweller.com/cargo/docker-compose.yaml
blob: 7cbb5d9fef89d1bf0c51815cd75399e1f6382495 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12



                
          






                           
                                             
                                 
                                                                   

             



              

           
version: "3"
services:
  nginx:
    image: nginx
    build:
      context: .
    networks:
      - cargonet
    ports:
      - "7777:8080"
    restart: unless-stopped
    volumes:
      - ./nginx.conf:/etc/nginx/nginx.conf:ro
      - /home/ubuntu/cargo:/cargo
      - /etc/letsencrypt/archive/cargo.terminaldweller.com/:/certs/
    cap_drop:
      - ALL
    cap_add:
      - CHOWN
      - SETGID
      - SETUID
networks:
  cargonet: