-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (53 loc) · 2.17 KB
/
docker-compose.yml
File metadata and controls
57 lines (53 loc) · 2.17 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
services:
ferron:
image: ferronserver/ferron:2
container_name: ferron
ports:
- "80:80"
- "443:443"
volumes:
- "ferron-acme:/var/cache/ferron-acme"
- "./ferron.kdl:/etc/ferron.kdl"
- "ferron-sub-configs:/etc/ferron-proxy-manager/"
networks:
- default
- fpm-network
restart: always
backend:
image: kuncodes/ferron-proxy-manager-backend:0.1.0-alpha # pinned version because of potential breaking changes in alpha
container_name: ferron-proxy-manager-backend
volumes:
- ferron-data:/app/data
- "./ferron.kdl:/etc/ferron.kdl"
- "ferron-sub-configs:/etc/ferron-proxy-manager/"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
environment:
- PRODUCTION=true
- DATABASE_URL=sqlite+aiosqlite:///./data/ferron.db
- DATABASE_ECHO=false
- AUTH_SECRET_KEY=change-this-secret-key # use `openssl rand -hex 32` to generate
- AUTH_REFRESH_SECRET_KEY=change-this-refresh-secret-key # use `openssl rand -hex 32` to generate. Keep it different from AUTH_SECRET_KEY
- AUTH_SIGNUP_DISABLED=false # change this to true to disable new signups
- FERRON_CONTAINER_NAME=ferron # change this if you changed the container name of ferron service
restart: always
depends_on:
- ferron
frontend:
image: kuncodes/ferron-proxy-manager-frontend:0.1.0-alpha # pinned version because of potential breaking changes in alpha
container_name: ferron-proxy-manager-frontend
ports:
- "3000:3000"
environment:
- PUBLIC_AUTH_SIGNUP_DISABLED=false # keep its value same as AUTH_SIGNUP_DISABLED in backend service
- BACKEND_URL=http://backend:8000
- ORIGIN=https://website-for-ferron-proxy-manager.com # change this to your website URL (without trailing slash)
restart: always
depends_on:
- backend
volumes:
ferron-acme:
ferron-data:
ferron-sub-configs:
networks:
fpm-network:
external: true