fix: remove unused db from docker compose file

This commit is contained in:
Araozu 2024-10-27 18:06:43 -05:00
parent 53c76e8294
commit 669d652b87

View File

@ -1,32 +1,10 @@
services: services:
music-to-go: music-to-go:
container_name: music-to-go container_name: music-to-go
depends_on:
- music-to-go-db
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
ports: ports:
- "8007:8007" - "8007:8007"
restart: unless-stopped restart: unless-stopped
networks:
- music-to-go-network
music-to-go-db:
image: postgres
container_name: music-to-go-db
restart: unless-stopped
# set shared memory limit when using docker-compose
shm_size: 128mb
volumes:
- ./db:/docker-entrypoint-initdb.d
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
networks:
- music-to-go-network
networks:
music-to-go-network:
driver: bridge