2021-07-21 01:12:26 +00:00
|
|
|
services:
|
2022-10-04 19:48:52 +00:00
|
|
|
files:
|
|
|
|
container_name: "rDrama"
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
volumes:
|
|
|
|
- "./:/rDrama"
|
|
|
|
- "./nginx.conf:/etc/nginx/sites-enabled/1"
|
|
|
|
- "./nginx-serve-static.conf:/etc/nginx/includes/serve-static"
|
|
|
|
links:
|
|
|
|
- "redis"
|
|
|
|
- "postgres"
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- postgres
|
2021-07-21 01:12:26 +00:00
|
|
|
|
2022-10-04 19:48:52 +00:00
|
|
|
redis:
|
2022-10-05 22:25:34 +00:00
|
|
|
container_name: "redis"
|
2022-10-04 19:48:52 +00:00
|
|
|
image: redis
|
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
2021-07-21 01:12:26 +00:00
|
|
|
|
2022-10-04 19:48:52 +00:00
|
|
|
postgres:
|
2022-10-05 22:25:34 +00:00
|
|
|
container_name: "postgres"
|
2022-10-04 19:48:52 +00:00
|
|
|
image: postgres
|
2022-11-26 05:37:44 +00:00
|
|
|
#command: ["postgres", "-c", "log_statement=all"]
|
2022-10-04 19:48:52 +00:00
|
|
|
volumes:
|
|
|
|
- "./schema.sql:/docker-entrypoint-initdb.d/00-schema.sql"
|
|
|
|
- "./seed-db.sql:/docker-entrypoint-initdb.d/10-seed-db.sql"
|
|
|
|
environment:
|
|
|
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
2022-10-06 19:07:45 +00:00
|
|
|
|
|
|
|
opera-proxy:
|
|
|
|
container_name: "opera-proxy"
|
|
|
|
image: yarmak/opera-proxy
|
|
|
|
ports:
|
|
|
|
- "18080:18080"
|