This repository was archived by the owner on Nov 23, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
68 lines (64 loc) · 1.41 KB
/
docker-compose.yaml
File metadata and controls
68 lines (64 loc) · 1.41 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: '3.6'
services:
firefly-back:
image: jc5x/firefly-iii:latest
volumes:
- type: volume
source: UPLOAD_VOLUME
target: /var/www/html/storage/upload
volume:
nocopy: true
- type: bind
source: $PWD/autoca.crt
target: /etc/ssl/autoca.crt
env_file: .env
environment:
MYSQL_SSL_CA: /etc/ssl/autoca.crt
DB_PASSWORD_FILE: /run/secrets/DB_PASS
APP_KEY_FILE: /run/secrets/APP_PASS
container_name: firefly-back
networks:
internal_net:
secrets:
- DB_PASS
- APP_PASS
firefly-front:
image: traefik:v2.4.0
container_name: firefly-proxy
hostname: firefly
domainname: home.lan
volumes:
- type: bind
source: $PWD/traefik/
target: /etc/traefik/
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
networks:
external_net:
ipv4_address: 192.168.40.110
internal_net:
restart: unless-stopped
depends_on:
- "firefly-back"
networks:
external_net:
external:
name: SERVERS-DOCKER
internal_net:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.0.2.0/24
gateway: 10.0.2.1
volumes:
UPLOAD_VOLUME:
driver: local-persist
driver_opts:
mountpoint: "$PWD/upload"
secrets:
DB_PASS:
file: $PWD/db_pass.txt
APP_PASS:
file: $PWD/app_pass.txt