Version 1
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
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: goko/royal-pop/api:dev
|
||||
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
|
||||
volumes:
|
||||
- ../Backend:/app
|
||||
store:
|
||||
image: goko/royal-pop/store:dev
|
||||
container_name: royal-pop-store
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- ../Env/.env.local
|
||||
environment:
|
||||
API_BASE_URL: http://localhost:8081
|
||||
ports:
|
||||
- "4321:4321"
|
||||
volumes:
|
||||
- ../Store:/app
|
||||
- store_node_modules:/app/node_modules
|
||||
volumes:
|
||||
royal_pop_postgres_data:
|
||||
store_node_modules:
|
||||
Reference in New Issue
Block a user