Updated Docker
This commit is contained in:
@@ -7,11 +7,14 @@ services:
|
||||
dockerfile: ./Dockerfile
|
||||
environment:
|
||||
- MEDUSA_ADMIN_ONBOARDING_NEXTJS_DIRECTORY=/medusa-frontend
|
||||
- DATABASE_URL=postgres://postgres:123456@localhost/medusa-TBcY
|
||||
volumes:
|
||||
- ./medusa-frontend:/medusa-frontend
|
||||
restart: always
|
||||
ports:
|
||||
- 9000:9000
|
||||
networks:
|
||||
- medusa
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
@@ -25,9 +28,17 @@ services:
|
||||
POSTGRES_DB: medusa-TBcY
|
||||
volumes:
|
||||
- ./postgres-data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- medusa
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
restart: always
|
||||
volumes:
|
||||
- ./redis-data:/data
|
||||
networks:
|
||||
- medusa
|
||||
|
||||
networks:
|
||||
medusa:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user