Files
voyage/docker-compose.yml

34 lines
670 B
YAML

services:
web:
#build: ./frontend/
image: ghcr.io/alex-wiesner/voyage-frontend:latest
restart: unless-stopped
env_file: .env
ports:
- "${FRONTEND_PORT:-8015}:3000"
depends_on:
- server
db:
image: postgis/postgis:16-3.5
restart: unless-stopped
env_file: .env
volumes:
- postgres_data:/var/lib/postgresql/data/
server:
#build: ./backend/
image: ghcr.io/alex-wiesner/voyage-backend:latest
restart: unless-stopped
env_file: .env
ports:
- "${BACKEND_PORT:-8016}:80"
depends_on:
- db
volumes:
- voyage_media:/code/media/
volumes:
postgres_data:
voyage_media: