-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
42 lines (38 loc) · 1.13 KB
/
docker-compose.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "3.8"
services:
strichliste:
image: ghcr.io/strichliste/strichliste-docker:master
build:
context: .
# if you use traefik you can remove the ports section
ports:
- 8080:8080
networks:
# - proxy # your traefik network
- default
env_file:
- docker.env
volumes:
- ./config/services.yaml:/source/config/services.yaml
- ./config/strichliste.yaml:/source/config/strichliste.yaml
- ./config/doctrine.yaml:/source/config/packages/doctrine.yaml
environment:
APP_ENV: "prod"
# Traefik configuration
# labels:
# - "traefik.docker.network={your traefik network}"
# - "traefik.frontend.rule=Host:{URL}"
# - "traefik.enable=true"
# - "traefik.port=8080"
strichliste-db:
image: mariadb:10.11.5
restart: always
networks:
- default
env_file:
- docker.env
volumes:
- ./data/mysql:/var/lib/mysql
networks:
proxy:
external: true