-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-base.yml
49 lines (49 loc) · 1.29 KB
/
docker-compose-base.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
43
44
45
46
47
48
49
services:
raspi-finance-endpoint:
image: raspi-finance-endpoint
build:
context: ./
args:
- APP=raspi-finance-endpoint
- TIMEZONE=America/Chicago
- USERNAME=${USER}
- CURRENT_UID=${CURRENT_UID}
- CURRENT_GID=${CURRENT_GID}
dockerfile: Dockerfile
container_name: raspi-finance-endpoint
restart: always
ports:
- "8443:8443"
hostname: hornsup-endpoint
volumes:
- ./logs:/opt/raspi-finance-endpoint/logs
- ./excel_in:/opt/raspi-finance-endpoint/excel_in
- ./json_in:/opt/raspi-finance-endpoint/json_in
extra_hosts:
- "hornsup:${HOST_IP}"
- "raspi:192.168.10.25"
env_file:
- env.secrets
depends_on:
- varnish-server
# depends_on:
# logstash-server:
# condition: service_healthy
# grafana-server:
# image: grafana/grafana:8.3.3
# user: "${CURRENT_UID}:${CURRENT_GID}"
# container_name: grafana-server
# hostname: grafana-server
# ports:
# - "3001:3000"
# expose:
# - "3001"
# volumes:
# - ./grafana-data:/var/lib/grafana
# - ./grafana-provisioning:/etc/grafana/provisioning
# - ./grafana-dashboards:/var/lib/grafana/dashboards
# env_file:
# - env.grafana
networks:
default:
name: finance-net