-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
44 lines (42 loc) · 936 Bytes
/
docker-compose.yaml
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
version: "3"
networks:
avm:
external: false
services:
frontend:
image: localhost/avm-front:0.1.0
container_name: avm-front
environment:
- USERS_FILE: /etc/avm/users.conf
- SHARED_DIR_PATH: /mnt/avm-share
- JWT_SECRET_KEY: jdnksdfbsdjhfbqjfdbhqsflhdsqfjhqsgdjqsdfkldsqfhhsdqgfhjsdqbfhdjbsfjhb
networks:
- avm
volumes:
- ./users.json:/etc/avm/users.conf:ro
- shared:/mnt/avm-share
ports:
- "5000:5000"
restart: unless-stopped
logging:
driver: "journald"
options:
tag: avm-front
backend:
image: localhost/avm-back:0.1.0
container_name: avm-back
env_file:
- path: ./.back.env
env:
- AVMB_SHARED_DIR_PATH: /mnt/avm-share
networks:
- avm
volumes:
- shared:/mnt/avm-share
restart: unless-stopped
logging:
driver: "journald"
options:
tag: avm-back
volumes:
shared: