update,
This commit is contained in:
46
_tecky/party-planner/docker-compose.yml
Normal file
46
_tecky/party-planner/docker-compose.yml
Normal file
@@ -0,0 +1,46 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres
|
||||
shm_size: "256m"
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
PGDATA: /data/postgres
|
||||
POSTGRES_DB: test
|
||||
volumes:
|
||||
- postgres:/data/postgres
|
||||
ports:
|
||||
- "5432:5432"
|
||||
restart: always
|
||||
|
||||
pgweb:
|
||||
# container_name: pgweb
|
||||
image: sosedoff/pgweb
|
||||
ports:
|
||||
- 8081:8081
|
||||
environment:
|
||||
- DATABASE_URL=postgres://postgres:postgres@postgres:5432/test?sslmode=disable
|
||||
depends_on:
|
||||
- postgres
|
||||
restart: always
|
||||
|
||||
|
||||
backend:
|
||||
image: node:18-buster
|
||||
command: sleep infinity
|
||||
ports:
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- $PWD/backend:/usr/src/app
|
||||
working_dir: /usr/src/app
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_HOST=postgres
|
||||
- DB_NAME=postgres
|
||||
- DB_USERNAME=postgres
|
||||
- DB_PASSWORD=postgres
|
||||
|
||||
volumes:
|
||||
backend_node_modules:
|
||||
cms_node_modules:
|
||||
postgres:
|
Reference in New Issue
Block a user