2021-07-21 01:12:26 +00:00
|
|
|
services:
|
2022-10-04 19:48:52 +00:00
|
|
|
files:
|
|
|
|
container_name: "rDrama"
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
volumes:
|
2023-07-26 18:29:45 +00:00
|
|
|
- "./:/d"
|
2022-10-04 19:48:52 +00:00
|
|
|
- "./nginx.conf:/etc/nginx/sites-enabled/1"
|
2023-09-08 23:42:02 +00:00
|
|
|
- "./includes:/etc/nginx/includes"
|
2022-10-04 19:48:52 +00:00
|
|
|
links:
|
|
|
|
- "redis"
|
|
|
|
- "postgres"
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
- postgres
|
2022-11-26 23:04:39 +00:00
|
|
|
logging:
|
|
|
|
options:
|
|
|
|
max-size: "100k"
|
|
|
|
max-file: "1"
|
|
|
|
|
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
|
2024-03-04 19:46:32 +00:00
|
|
|
volumes:
|
|
|
|
- "/bin/bash:/bin/sh"
|
2022-10-04 19:48:52 +00:00
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
2022-11-26 23:04:39 +00:00
|
|
|
logging:
|
|
|
|
options:
|
|
|
|
max-size: "100k"
|
|
|
|
max-file: "1"
|
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
|
2023-01-28 14:41:05 +00:00
|
|
|
command: ["postgres", "-c", "log_statement=all"]
|
2022-10-04 19:48:52 +00:00
|
|
|
volumes:
|
2024-03-04 19:56:01 +00:00
|
|
|
- "/bin/bash:/bin/sh"
|
2022-10-04 19:48:52 +00:00
|
|
|
- "./schema.sql:/docker-entrypoint-initdb.d/00-schema.sql"
|
2023-04-23 02:39:33 +00:00
|
|
|
- "./seed-users.sql:/docker-entrypoint-initdb.d/01-seed-users.sql"
|
2023-07-27 20:13:15 +00:00
|
|
|
- "./seed-badges.sql:/docker-entrypoint-initdb.d/02-seed-badges.sql"
|
2023-07-27 20:22:19 +00:00
|
|
|
- "./seed-hats.sql:/docker-entrypoint-initdb.d/03-seed-hats.sql"
|
2023-10-24 19:04:40 +00:00
|
|
|
- "./seed-emojis-rDrama.sql:/docker-entrypoint-initdb.d/04-seed-emojis-rDrama.sql"
|
|
|
|
- "./seed-emojis-WPD.sql:/docker-entrypoint-initdb.d/04-seed-emojis-WPD.sql"
|
2022-10-04 19:48:52 +00:00
|
|
|
environment:
|
|
|
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
2022-11-26 23:04:39 +00:00
|
|
|
logging:
|
|
|
|
options:
|
|
|
|
max-size: "100k"
|
|
|
|
max-file: "1"
|
2022-10-06 19:07:45 +00:00
|
|
|
|
|
|
|
opera-proxy:
|
|
|
|
container_name: "opera-proxy"
|
|
|
|
image: yarmak/opera-proxy
|
|
|
|
ports:
|
|
|
|
- "18080:18080"
|
2022-11-26 23:04:39 +00:00
|
|
|
logging:
|
|
|
|
options:
|
|
|
|
max-size: "100k"
|
|
|
|
max-file: "1"
|