mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 02:10:18 +01:00
attempt at making docker compose
This commit is contained in:
22
docker-compose.yaml
Normal file
22
docker-compose.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
front:
|
||||
build: ./traque-front
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- NEXT_PUBLIC_SOCKET_HOST = 'quentinrsl.com'
|
||||
- NEXT_PUBLIC_SOCKET_PORT = 3001
|
||||
|
||||
back:
|
||||
build: ./traque-back
|
||||
ports:
|
||||
- "3001:3001"
|
||||
environment:
|
||||
- HOST = 'quentinrsl.com'
|
||||
- PORT = 3001
|
||||
- SSL_KEY = "/etc/letsencrypt/live/quentinrsl.com/privkey.pem"
|
||||
- SSL_CERT = "/etc/letsencrypt/live/quentinrsl.com/cert.pem"
|
||||
- ADMIN_PASSWORD = 'admin'
|
||||
- MAX_PENALTIES = 3
|
||||
- ALLOWED_TIME_OUT_OF_ZONE_IN_MINUTES = 10
|
||||
- ALLOWED_TIME_BETWEEN_POSITION_UPDATE_IN_MINUTES = 10
|
||||
Reference in New Issue
Block a user