Skip to content

Commit

Permalink
separate db to different container
Browse files Browse the repository at this point in the history
  • Loading branch information
skript023 committed Apr 23, 2024
1 parent a66c568 commit 0b01911
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
version: "3.5"
services:
gaboot-database:
image: postgres:latest
restart: on-failure
container_name: gaboot-shop-database
environment:
POSTGRES_DB: gaboot
POSTGRES_USER: docker
POSTGRES_PASSWORD: gaboot
ports:
- 5433:5432
expose:
- 5432
networks:
- gaboot
shm_size: 128mb
volumes:
- ./postgres:/dev/shm
- ./postgres/data:/var/lib/postgresql/data
- ./postgres/config:/etc/postgresql/
gaboot-api:
build:
context: .
Expand Down

0 comments on commit 0b01911

Please sign in to comment.