-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
41 lines (39 loc) · 977 Bytes
/
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
version: "3.7"
services:
app:
container_name: cleezy-app
build:
context: .
dockerfile: Dockerfile
command:
- --database-file-path=/tmp/urldatabase.db
- --qr-code-cache-path=/tmp/
- --qr-code-cache-state-file=/tmp/cleezy-state
- --qr-code-base-url=https://sce.sjsu.edu/s
- --qr-code-center-image-path=/app/assets/SCE_logo.png
- -vvv
volumes:
- cleezy_data:/tmp/
- nginx_data:/tmp/nginx/
- ./server.py:/app/server.py
- ./modules:/app/modules
- ./assets:/app/assets
prometheus:
image: prom/prometheus:latest
restart: always
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
command:
- "--config.file=/etc/prometheus/prometheus.yml"
nginx:
container_name: cleezy-nginx
image: nginx:alpine
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
volumes:
cleezy_data:
nginx_data:
networks:
default:
external:
name: sce