/
docker-compose.yml
38 lines (35 loc) · 1009 Bytes
/
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
version: "3"
networks:
public:
external:
name: proxy
volumes:
app:
services:
uvdesk:
image: dietermartens/uvdesk
environment:
# installation in dev, change it after installation to prod
- APP_ENV=dev
- APP_SECRET=
- TZ=Europe/Brussels
- APP_TIMEZONE=Europe/Brussels
- APP_CURRENCY=EUR
- CRON_USER1=root
- CRON_SCHEDULE1=*/5 * * * *
- CRON_COMMAND1=cd /var/www/html && php bin/console uvdesk:refresh-mailbox info@domain.tld support@domain.tld
# if using traefik proxy
labels:
- traefik.enable=true
- traefik.docker.network=proxy
- traefik.http.routers.uvdesk.rule=Host(`{uvdesk.domain.tld}`)
- traefik.http.services.uvdesk.loadbalancer.server.port=80
- traefik.http.routers.uvdesk.tls.certresolver=le
- traefik.http.routers.uvdesk.tls=true
restart: always
extra_hosts:
- "{uvdesk.domain.tld}:127.0.0.1"
networks:
- public
volumes:
- app:/var/www/html