2025-07-22 17:23:13 -04:00
|
|
|
|
services:
|
|
|
|
|
|
client:
|
2025-07-25 15:10:55 -04:00
|
|
|
|
build:
|
2025-07-25 15:11:53 -04:00
|
|
|
|
context: . # or . if you’re already inside `site/`
|
2025-07-25 15:10:55 -04:00
|
|
|
|
dockerfile: Dockerfile # or whatever the file is called
|
|
|
|
|
|
|
2025-07-24 17:10:29 -04:00
|
|
|
|
container_name: alliances-site
|
2025-07-22 17:23:13 -04:00
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
ports:
|
|
|
|
|
|
- "3000:3000"
|
|
|
|
|
|
environment:
|
|
|
|
|
|
NODE_ENV: production
|
2025-07-23 18:00:28 +00:00
|
|
|
|
volumes:
|
2025-07-23 18:09:26 -04:00
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2025-07-24 17:00:15 -04:00
|
|
|
|
|
|
|
|
|
|
cms:
|
2025-07-25 15:10:55 -04:00
|
|
|
|
container_name: alliances-cms
|
|
|
|
|
|
build:
|
|
|
|
|
|
context: ./cms # or . if you’re already inside `site/`
|
|
|
|
|
|
dockerfile: Dockerfile # or whatever the file is called
|
|
|
|
|
|
|
2025-07-24 17:00:15 -04:00
|
|
|
|
image: alliances-cms
|
|
|
|
|
|
ports:
|
|
|
|
|
|
- "3001:1111"
|
|
|
|
|
|
environment:
|
|
|
|
|
|
- NODE_ENV=production
|
|
|
|
|
|
- TOKEN_SECRET_KEY=${TOKEN_SECRET_KEY}
|
|
|
|
|
|
- DB_PATH=${DB_PATH}
|
2025-07-24 17:20:38 -04:00
|
|
|
|
env_file: .env
|
2025-07-24 17:00:15 -04:00
|
|
|
|
volumes:
|
2025-07-24 17:10:29 -04:00
|
|
|
|
- alliances_volume:/app/.manifest
|
2025-07-24 17:00:15 -04:00
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
alliances_volume:
|