Version 1
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
container_name: royal-pop-postgres
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: royalpop
|
||||
POSTGRES_USER: royalpop
|
||||
POSTGRES_PASSWORD: royalpop_dev_password
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- royal_pop_postgres_data:/var/lib/postgresql/data
|
||||
|
||||
api:
|
||||
image: registry.mangopig.tech/goko/royal-pop/api/dev:${TAG:-latest}
|
||||
container_name: royal-pop-api
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- ../Env/.env.local
|
||||
environment:
|
||||
DATABASE_URL: postgres://royalpop:royalpop_dev_password@postgres:5432/royalpop?sslmode=disable
|
||||
ports:
|
||||
- "8081:8081"
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
store:
|
||||
image: registry.mangopig.tech/goko/royal-pop/store/dev:${TAG:-latest}
|
||||
container_name: royal-pop-store
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- ../Env/.env.local
|
||||
environment:
|
||||
API_BASE_URL: http://localhost:8081
|
||||
ports:
|
||||
- "4321:4321"
|
||||
|
||||
volumes:
|
||||
royal_pop_postgres_data:
|
||||
Reference in New Issue
Block a user