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