A prototype of a web service for translating and sharing digital books and other textual media through a RESTful API.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

53 lines
1.0 KiB

version: '3.5'
services:
nginx:
image: nginx
restart: always
expose:
- "80"
networks:
- web
volumes:
- "/opt/apps/nginx/www:/usr/share/nginx/html"
- "/opt/apps/nginx/koukaiws.conf:/etc/nginx/conf.d/default.conf"
labels:
- "traefik.frontend.rule=Host:dev01.koukai.xyz"
- "traefik.port=80"
- "traefik.backend=nginx"
- "traefik.docker.network=web"
depends_on:
- "koukaiws"
postgres:
image: postgres
restart: always
expose:
- "5432"
networks:
- web
volumes:
- "postgres_storage:/var/lib/postgresql/data"
env_file:
- /opt/apps/nginx/env
koukaiws:
image: registry.saten.host/chiefnoah/koukaiws:latest
restart: always
expose:
- "8080"
volumes:
- "/usr/bin/pandoc:/usr/bin/pandoc"
networks:
- web
env_file:
- /opt/apps/nginx/env
depends_on:
- "postgres"
volumes:
postgres_storage:
external: true
networks:
web:
external: true