mirror of
https://github.com/derf/travelynx
synced 2024-12-05 02:39:10 +00:00
44 lines
882 B
YAML
44 lines
882 B
YAML
# Copyright (C) Markus Witt
|
|
#
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
version: "3.6"
|
|
x-common-env: &common-env
|
|
TRAVELYNX_DB_HOST: database
|
|
TRAVELYNX_DB_NAME: travelynx
|
|
TRAVELYNX_DB_USERNAME: travelynx
|
|
TRAVELYNX_DB_PASSWORD: travelynx
|
|
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
|
|
|
|
services:
|
|
database:
|
|
image: postgres:11
|
|
networks:
|
|
- backend
|
|
environment:
|
|
<<: *common-env
|
|
volumes:
|
|
- ./examples/docker/postgres-init.sh:/docker-entrypoint-initdb.d/init.sh
|
|
travelynx:
|
|
<<: *common-config
|
|
ports:
|
|
- "8000:8093"
|
|
environment:
|
|
<<: *common-env
|
|
cron:
|
|
<<: *common-config
|
|
environment:
|
|
<<: *common-env
|
|
CRON: 1
|
|
|
|
networks:
|
|
backend:
|