mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-19 04:49:37 +02:00
36 lines
813 B
YAML
36 lines
813 B
YAML
services:
|
|
web:
|
|
#build: ./frontend/
|
|
image: ghcr.io/seanmorley15/adventurelog-frontend:latest
|
|
container_name: adventurelog-frontend
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
ports:
|
|
- "${FRONTEND_PORT:-8015}:3000"
|
|
depends_on:
|
|
- server
|
|
|
|
db:
|
|
image: postgis/postgis:16-3.5
|
|
container_name: adventurelog-db
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data/
|
|
|
|
server:
|
|
#build: ./backend/
|
|
image: ghcr.io/seanmorley15/adventurelog-backend:latest
|
|
container_name: adventurelog-backend
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
ports:
|
|
- "${BACKEND_PORT:-8016}:80"
|
|
depends_on:
|
|
- db
|
|
volumes:
|
|
- adventurelog_media:/code/media/
|
|
|
|
volumes:
|
|
postgres_data:
|
|
adventurelog_media:
|