2021-01-29 17:32:13 +00:00
|
|
|
# Copyright (C) Markus Witt
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
2019-04-21 21:13:03 +00:00
|
|
|
version: "3.6"
|
|
|
|
x-common-env: &common-env
|
|
|
|
TRAVELYNX_DB_HOST: database
|
|
|
|
TRAVELYNX_DB_NAME: travelynx
|
|
|
|
TRAVELYNX_DB_USERNAME: travelynx
|
|
|
|
TRAVELYNX_DB_PASSWORD: travelynx
|
2019-05-03 20:50:59 +00:00
|
|
|
TRAVELYNX_SECRET: 12345678
|
|
|
|
TRAVELYNX_MAIL_DISABLE: 1
|
|
|
|
MOJO_MODE: development
|
|
|
|
|
|
|
|
x-common-config: &common-config
|
|
|
|
volumes:
|
|
|
|
- ./examples/docker/travelynx.conf:/app/travelynx.conf
|
|
|
|
build: .
|
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
|
2019-04-21 21:13:03 +00:00
|
|
|
services:
|
|
|
|
database:
|
|
|
|
image: postgres:11
|
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
environment:
|
|
|
|
<<: *common-env
|
|
|
|
volumes:
|
|
|
|
- ./examples/docker/postgres-init.sh:/docker-entrypoint-initdb.d/init.sh
|
|
|
|
travelynx:
|
2019-05-03 20:50:59 +00:00
|
|
|
<<: *common-config
|
2019-04-21 21:13:03 +00:00
|
|
|
ports:
|
|
|
|
- "8000:8093"
|
|
|
|
environment:
|
|
|
|
<<: *common-env
|
2019-05-03 20:50:59 +00:00
|
|
|
cron:
|
|
|
|
<<: *common-config
|
|
|
|
environment:
|
|
|
|
<<: *common-env
|
|
|
|
CRON: 1
|
|
|
|
|
2019-04-21 21:13:03 +00:00
|
|
|
networks:
|
2021-01-29 17:32:13 +00:00
|
|
|
backend:
|