site/docker-compose.yml
William Diakite 9886c23b5a
Some checks failed
Deploy SvelteKit / deploy (push) Failing after 11s
adds context to build infos
2025-07-25 15:10:55 -04:00

35 lines
875 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
client:
build:
context: ./site # or . if youre already inside `site/`
dockerfile: Dockerfile # or whatever the file is called
container_name: alliances-site
restart: unless-stopped
ports:
- "3000:3000"
environment:
NODE_ENV: production
volumes:
- /var/run/docker.sock:/var/run/docker.sock
cms:
container_name: alliances-cms
build:
context: ./cms # or . if youre already inside `site/`
dockerfile: Dockerfile # or whatever the file is called
image: alliances-cms
ports:
- "3001:1111"
environment:
- NODE_ENV=production
- TOKEN_SECRET_KEY=${TOKEN_SECRET_KEY}
- DB_PATH=${DB_PATH}
env_file: .env
volumes:
- alliances_volume:/app/.manifest
- /var/run/docker.sock:/var/run/docker.sock
volumes:
alliances_volume: