fix docker file
This commit is contained in:
parent
27566265b9
commit
2f09fffa15
1 changed files with 12 additions and 11 deletions
|
@ -7,8 +7,9 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "./:/service"
|
- "./:/service"
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgresql://postgres@127.0.0.1:5432/postgres
|
- DATABASE_URL=postgresql://postgres@postgres:5432/postgres
|
||||||
- MASTER_KEY=${MASTER_KEY:-KTVciAUQFpFh2WdJ/oiHJlxl6FvzRZp8kYzAAv3l2OA=}
|
- MASTER_KEY=${MASTER_KEY:-KTVciAUQFpFh2WdJ/oiHJlxl6FvzRZp8kYzAAv3l2OA=}
|
||||||
|
- REDIS_URL=redis://redis
|
||||||
- DOMAIN=localhost
|
- DOMAIN=localhost
|
||||||
- SITE_NAME=Drama
|
- SITE_NAME=Drama
|
||||||
- GIPHY_KEY=3435tdfsdudebussylmaoxxt43
|
- GIPHY_KEY=3435tdfsdudebussylmaoxxt43
|
||||||
|
@ -41,14 +42,14 @@ services:
|
||||||
- DUES=0
|
- DUES=0
|
||||||
- MAIL_USERNAME=blahblahblah@gmail.com
|
- MAIL_USERNAME=blahblahblah@gmail.com
|
||||||
- MAIL_PASSWORD=3435tdfsdudebussylmaoxxt43
|
- MAIL_PASSWORD=3435tdfsdudebussylmaoxxt43
|
||||||
links:
|
links:
|
||||||
- "redis"
|
- "redis"
|
||||||
- "postgres"
|
- "postgres"
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
|
@ -62,5 +63,5 @@ services:
|
||||||
- "./seed-db.sql:/docker-entrypoint-initdb.d/01-schema.sql"
|
- "./seed-db.sql:/docker-entrypoint-initdb.d/01-schema.sql"
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||||
#ports:
|
ports:
|
||||||
#- "5432:5432"
|
- "5432:5432"
|
Loading…
Add table
Add a link
Reference in a new issue