compose: mount /etc/localtime into containers

This commit is contained in:
surtur 2022-09-28 16:41:09 +02:00
parent d6fc9bd9f8
commit ae9d9a4324
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -23,6 +23,7 @@ services:
- 127.0.0.1:3333:3000 - 127.0.0.1:3333:3000
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
tmpfs: '/run,/tmp,/etc,/drone' tmpfs: '/run,/tmp,/etc,/drone'
restart: always restart: always
labels: labels:
@ -36,6 +37,7 @@ services:
- drone-server - drone-server
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime:ro
restart: always restart: always
labels: labels:
- traefik.enable=false - traefik.enable=false