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

35 lines
870 B
YAML
Raw Permalink 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: . # 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: