1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-18 20:39:36 +02:00
AdventureLog/docker-compose.yml

37 lines
813 B
YAML
Raw Normal View History

services:
web:
#build: ./frontend/
image: ghcr.io/seanmorley15/adventurelog-frontend:latest
2024-08-24 16:29:50 -04:00
container_name: adventurelog-frontend
2024-09-15 11:10:34 -04:00
restart: unless-stopped
env_file: .env
2024-07-08 11:44:39 -04:00
ports:
- "${FRONTEND_PORT:-8015}:3000"
depends_on:
2024-07-08 11:44:39 -04:00
- server
db:
image: postgis/postgis:16-3.5
2024-08-24 16:29:50 -04:00
container_name: adventurelog-db
2024-09-15 11:10:34 -04:00
restart: unless-stopped
env_file: .env
2024-06-09 18:10:17 +00:00
volumes:
2024-07-08 11:44:39 -04:00
- postgres_data:/var/lib/postgresql/data/
server:
#build: ./backend/
image: ghcr.io/seanmorley15/adventurelog-backend:latest
2024-08-24 16:29:50 -04:00
container_name: adventurelog-backend
2024-09-15 11:10:34 -04:00
restart: unless-stopped
env_file: .env
2024-06-09 18:10:17 +00:00
ports:
- "${BACKEND_PORT:-8016}:80"
2024-07-08 11:44:39 -04:00
depends_on:
- db
volumes:
- adventurelog_media:/code/media/
2024-06-09 18:10:17 +00:00
volumes:
2024-07-08 11:44:39 -04:00
postgres_data:
adventurelog_media: