2024-04-01 21:13:59 +00:00
|
|
|
services:
|
|
|
|
web:
|
2025-06-06 18:39:46 -04:00
|
|
|
#build: ./frontend/
|
2025-06-07 11:14:27 -04:00
|
|
|
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
|
2025-05-26 14:11:31 -04:00
|
|
|
env_file: .env
|
2024-07-08 11:44:39 -04:00
|
|
|
ports:
|
2025-05-27 22:42:08 -04:00
|
|
|
- "${FRONTEND_PORT:-8015}:3000"
|
2024-04-02 19:22:54 +00:00
|
|
|
depends_on:
|
2024-07-08 11:44:39 -04:00
|
|
|
- server
|
|
|
|
|
2024-04-02 19:22:54 +00:00
|
|
|
db:
|
2025-06-04 16:59:41 -04:00
|
|
|
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
|
2025-05-26 14:11:31 -04:00
|
|
|
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:
|
2025-06-06 18:39:46 -04:00
|
|
|
#build: ./backend/
|
2025-06-07 11:14:27 -04:00
|
|
|
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
|
2025-05-26 14:11:31 -04:00
|
|
|
env_file: .env
|
2024-06-09 18:10:17 +00:00
|
|
|
ports:
|
2025-05-27 22:42:08 -04:00
|
|
|
- "${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:
|