docker-compose.yml
633 Bytes
version: "3"
services:
server:
build:
context: .
dockerfile: ./server/Dockerfile
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- /etc/letsencrypt:/etc/letsencrypt
environment:
- SSL_CERT=${SSL_CERT}
- SSL_KEY=${SSL_KEY}
- SSL_CA=${SSL_CA}
web:
build:
context: .
dockerfile: ./web/Dockerfile
args:
- HOST=${HOST}
- SSL_CERT=${SSL_CERT}
- SSL_KEY=${SSL_KEY}
- SSL_CA=${SSL_CA}
restart: unless-stopped
ports:
- "443:443"
- "80:80"
volumes:
- /etc/letsencrypt:/etc/letsencrypt