| version: "3" |
| services: |
| pairdrop: |
| build: . |
| container_name: pairdrop |
| restart: unless-stopped |
| environment: |
| - PUID=1000 |
| - PGID=1000 |
| - WS_FALLBACK=false |
| - RATE_LIMIT=false |
| - RTC_CONFIG=false |
| - DEBUG_MODE=false |
| - TZ=Etc/UTC |
| ports: |
| - "127.0.0.1:3000:3000" |
| nginx: |
| build: |
| context: dev/ |
| dockerfile: nginx-with-openssl.Dockerfile |
| image: "nginx-with-openssl" |
| volumes: |
| - ./public:/usr/share/nginx/html |
| - ./dev/certs:/etc/ssl/certs |
| - ./dev/openssl:/mnt/openssl |
| - ./dev/nginx/default.conf:/etc/nginx/conf.d/default.conf |
| ports: |
| - "8080:80" |
| - "8443:443" |
| environment: |
| - FQDN=localhost |
| entrypoint: /mnt/openssl/create.sh |
| command: ["nginx", "-g", "daemon off;"] |
| restart: unless-stopped |