Cleaned docker compose setup

This commit is contained in:
2024-06-10 19:07:26 +00:00
parent 92bc5cf4dc
commit 7ee439f002
5 changed files with 14 additions and 6 deletions

View File

@@ -8,11 +8,19 @@ services:
ports:
- "3000:443"
volumes:
- ./proxy/ssl:/etc/nginx/ssl:ro
# reusing the ssl files from the backend
- ./traque-back/ssl:/etc/nginx/ssl:ro
restart: always
back:
build: ./traque-back
ports:
- "3001:3001"
restart: always
restart: always
environment:
ADMIN_PASSWORD: 'traquebdsbanger'
HOST: '0.0.0.0'
PORT: 3001
#Those files need to exist in traque-back/ssl for https to work
SSL_KEY: "ssl/privkey.pem"
SSL_CERT: "ssl/cert.pem"