tubearchivist-server/docker-compose_testing.yml

48 lines
958 B
YAML
Raw Normal View History

2022-04-29 10:48:25 +00:00
version: '3.3'
services:
nginx:
build: ./tubearchivist/nginx
container_name: backend_nginx
restart: always
ports:
- "80:80"
depends_on:
- tubearchivist
# main flask site
tubearchivist:
container_name: tubearchivist
build:
context: ./tubearchivist/web
args:
- INSTALL_DEBUG=1
2022-04-29 10:48:25 +00:00
restart: always
2022-05-20 12:53:04 +00:00
volumes:
- ./volume/tubearchivist/data:/data
2022-04-29 10:48:25 +00:00
env_file:
- ./env/tubearchivist.env
2022-12-03 02:28:13 +00:00
environment:
- discord=gkWMk9Qupk
2022-04-29 10:48:25 +00:00
expose:
- "8080"
# backend postgres
postgres:
image: postgres:14
container_name: postgres
restart: always
volumes:
- ./volume/postgres:/var/lib/postgresql/data/
env_file:
- ./env/postgres.env
expose:
- "5432"
2022-05-20 04:41:44 +00:00
# redis job monitor
redis:
image: redislabs/rejson:latest
container_name: redis
restart: always
ports:
- "6379:6379"
volumes:
- ./volume/redis:/data