-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose-template.yml
42 lines (38 loc) · 1021 Bytes
/
compose-template.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'
services:
db:
image: influxdb:2.7
container_name: duplicati-dashboard-db
restart: unless-stopped
ports:
- '4001:8086'
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME: ${INFLUX_USERNAME}
DOCKER_INFLUXDB_INIT_PASSWORD: ${INFLUX_PASSWORD}
DOCKER_INFLUXDB_INIT_ORG: ${INFLUX_ORG}
DOCKER_INFLUXDB_INIT_BUCKET: ${INFLUX_BUCKET}
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: ${INFLUX_TOKEN}
volumes:
- ./db/lib:/var/lib/influxdb2
- ./db/etc:/etc/influxdb2
# - ./config.yml:/etc/influxdb2/config.yml
# networks:
# - proxy
app:
image: duplicati-dashboard
container_name: duplicati-dashboard-app
restart: unless-stopped
build:
dockerfile: Dockerfile
ports:
- 4000:3000
depends_on:
- db
# networks:
# - proxy
# networks:
# proxy:
# name: nginx-prox-mgmt-3_default # whatever proxy container network
# driver: bridge
# external: true