-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (56 loc) · 1.71 KB
/
docker-compose.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
50
51
52
53
54
55
56
57
58
59
# services:
# app:
# restart: unless-stopped
# image: collinlucke/baphomet-server:latest
# networks:
# - baphomet
# build:
# context: .
# dockerfile: Dockerfile
# args:
# - ATLAS_DB_USERNAME=${ATLAS_DB_USERNAME}
# - ATLAS_CLUSTER=${ATLAS_CLUSTER}
# - ATLAS_DB=${ATLAS_DB}
# - ATLAS_DB_PASSWORD=${ATLAS_DB_PASSWORD}
# - ACCESS_TOKEN_SECRET=${ACCESS_TOKEN_SECRET}
# - REFRESH_TOKEN_SECRET=${REFRESH_TOKEN_SECRET}
# - SSL_KEY_PATH=${SSL_KEY_PATH}
# - SSL_CERT_PATH=${SSL_CERT_PATH}
# - SSL_CA_PATH=${SSL_CA_PATH}
# ports:
# - '5050:5050'
# - '443:443'
# volumes:
# - ./src:/usr/src/app/src
# - ../baphomet-ui/dist:/usr/src/app/dist
# environment:
# - ATLAS_DB_PASSWORD=${ATLAS_DB_PASSWORD}
# - ATLAS_DB_USERNAME=${ATLAS_DB_USERNAME}
# - ATLAS_CLUSTER=${ATLAS_CLUSTER}
# - ATLAS_DB=${ATLAS_DB}
# - ACCESS_TOKEN_SECRET=${ACCESS_TOKEN_SECRET}
# - REFRESH_TOKEN_SECRET=${REFRESH_TOKEN_SECRET}
# - SSL_CERT
# - SSL_CERT_INTERMEDIATE
# - SSL_PRIVATE_KEY
# networks:
# baphomet:
# driver: bridge
services:
app:
image: collinlucke/baphomet-server:latest
container_name: baphomet-server
ports:
- "5050:5050"
- "443:443"
environment:
- ATLAS_DB_PASSWORD=${ATLAS_DB_PASSWORD}
- ATLAS_DB_USERNAME=${ATLAS_DB_USERNAME}
- ATLAS_CLUSTER=${ATLAS_CLUSTER}
- ATLAS_DB=${ATLAS_DB}
- ACCESS_TOKEN_SECRET=${ACCESS_TOKEN_SECRET}
- REFRESH_TOKEN_SECRET=${ACCESS_TOKEN_SECRET}
volumes:
- ./src:/usr/src/app/src
- ../baphomet-ui/dist:/usr/src/app/dist
restart: unless-stopped