This repository has been archived by the owner on Mar 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.in
53 lines (53 loc) · 1.78 KB
/
docker-compose.yml.in
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
version: '2'
services:
nginx:
restart: always
build: nginx
volumes:
- .:/opt/www
links:
- cheese-flask
ports:
- "80:80"
cheese-flask:
restart: always
build: flask
links:
- cheese-db
expose:
- "8000"
volumes:
- .:/opt/www
environment:
- CHEESE_SECRET_KEY=${CHEESE_SECRET_KEY}
- CHEESE_CONTAINER_NAME=${CHEESE_CONTAINER_NAME}
- CHEESE_SMTP_SERVER=${CHEESE_SMTP_SERVER}
- CHEESE_SMTP_USERNAME=${CHEESE_SMTP_USERNAME}
- CHEESE_SMTP_PASSWORD=${CHEESE_SMTP_PASSWORD}
- CHEESE_SMTP_PORT=${CHEESE_SMTP_PORT}
- CHEESE_SMTP_USE_SSL=${CHEESE_SMTP_USE_SSL}
- CHEESE_SMTP_USE_TLS=${CHEESE_SMTP_USE_TLS}
- CHEESE_EMAIL_SENDER=${CHEESE_EMAIL_SENDER}
- CHEESE_MYSQL_HOST=${CHEESE_MYSQL_HOST}
- CHEESE_MYSQL_ROOT_PASSWORD=${CHEESE_MYSQL_ROOT_PASSWORD}
- CHEESE_MYSQL_DATABASE=${CHEESE_MYSQL_DATABASE}
- CHEESE_MYSQL_USER=${CHEESE_MYSQL_USER}
- CHEESE_MYSQL_PASSWORD=${CHEESE_MYSQL_PASSWORD}
- CHEESE_WEBSITE_DIR=${CHEESE_WEBSITE_DIR}
- CHEESE_CERTIFICATE_DIR=${CHEESE_CERTIFICATE_DIR}
- CHEESE_ADMINS=${CHEESE_ADMINS}
- CHEESE_WATCHERS=${CHEESE_WATCHERS}
- CHEESE_S3_URL_PREFIX=${CHEESE_S3_URL_PREFIX}
- CHEESE_S3_REGION=${CHEESE_S3_REGION}
- CHEESE_S3_ENDPOINT_URL=${CHEESE_S3_ENDPOINT_URL}
- CHEESE_S3_ACCESS_KEY_ID=${CHEESE_S3_ACCESS_KEY_ID}
- CHEESE_S3_SECRET_ACCESS_KEY=${CHEESE_S3_SECRET_ACCESS_KEY}
cheese-db:
image: mariadb:latest
volumes:
- ${CHEESE_MYSQL_DATA_DIR}:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=${CHEESE_MYSQL_ROOT_PASSWORD}
- MYSQL_DATABASE=${CHEESE_MYSQL_DATABASE}
- MYSQL_USER=${CHEESE_MYSQL_USER}
- MYSQL_PASSWORD=${CHEESE_MYSQL_PASSWORD}