2022-03-05 15:03:09 +01:00
|
|
|
version: '3.8'
|
2020-07-06 19:38:12 +02:00
|
|
|
|
|
|
|
|
services:
|
2022-02-27 19:06:06 +01:00
|
|
|
dashy:
|
|
|
|
|
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
|
|
|
|
|
# build: .
|
|
|
|
|
image: lissy93/dashy
|
|
|
|
|
container_name: dashy
|
|
|
|
|
# Pass in your config file below, by specifying the path on your host machine
|
|
|
|
|
volumes:
|
|
|
|
|
- ${ROOT_INSTALL}/data/dashy/config.yml:/app/public/conf.yml
|
|
|
|
|
# Set any environmental variables
|
|
|
|
|
environment:
|
|
|
|
|
- NODE_ENV=production
|
|
|
|
|
# Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
|
|
|
|
|
# - UID=1000
|
|
|
|
|
# - GID=1000
|
|
|
|
|
# Specify restart policy
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
# Configure healthchecks
|
|
|
|
|
#healthcheck:
|
|
|
|
|
# test: ['CMD', 'node', '/app/services/healthcheck']
|
|
|
|
|
# interval: 1m30s
|
|
|
|
|
# timeout: 10s
|
|
|
|
|
# retries: 3
|
|
|
|
|
# start_period: 40s
|
|
|
|
|
networks:
|
|
|
|
|
- wwww-frontend
|
|
|
|
|
expose:
|
|
|
|
|
- 80
|
|
|
|
|
labels:
|
|
|
|
|
- traefik.enable=true
|
|
|
|
|
- traefik.http.routers.dashy.rule=Host(`${HOST_DASHY}`)
|
|
|
|
|
- traefik.http.routers.dashy.entrypoints=https
|
|
|
|
|
- traefik.http.routers.dashy.tls=true
|
|
|
|
|
- traefik.docker.network=wwww-frontend
|
2020-07-06 19:38:12 +02:00
|
|
|
www:
|
|
|
|
|
container_name: www
|
|
|
|
|
image: kianby/www-madyanne
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
networks:
|
2021-12-12 12:02:11 +01:00
|
|
|
- wwww-frontend
|
2020-07-06 19:38:12 +02:00
|
|
|
expose:
|
|
|
|
|
- 80
|
2021-11-01 19:10:42 +01:00
|
|
|
labels:
|
|
|
|
|
- traefik.enable=true
|
|
|
|
|
- traefik.http.routers.www.rule=Host(`${HOST_WWW}.${DOMAIN}`)
|
2021-11-01 20:26:33 +01:00
|
|
|
- traefik.http.routers.www.entrypoints=https
|
2021-11-01 19:10:42 +01:00
|
|
|
- traefik.http.routers.www.tls=true
|
2021-12-12 12:02:11 +01:00
|
|
|
- traefik.docker.network=wwww-frontend
|
2021-11-10 07:49:56 +01:00
|
|
|
|