blob: ac482e065f1f42baf3c3201081e6bba88a44a12d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
version: "3.6"
x-common-env: &common-env
TRAVELYNX_DB_HOST: database
TRAVELYNX_DB_NAME: travelynx
TRAVELYNX_DB_USERNAME: travelynx
TRAVELYNX_DB_PASSWORD: travelynx
services:
database:
image: postgres:11
networks:
- backend
environment:
<<: *common-env
volumes:
- ./examples/docker/postgres-init.sh:/docker-entrypoint-initdb.d/init.sh
travelynx:
build: .
ports:
- "8000:8093"
networks:
- backend
volumes:
- ./examples/docker/travelynx.conf:/app/travelynx.conf
environment:
<<: *common-env
TRAVELYNX_MAIL_DISABLE: 1
TRAVELYNX_SECRET: 12345678
networks:
backend:
|