-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
35 lines (35 loc) · 1.14 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
version: '3'
services:
chotuve_auth:
build: .
environment:
# Flask
STATIC_URL: "/static"
STATIC_PATH: "/var/www/app/app/static"
DATABASE_URL: "postgres://chotuve_auth:chotuve_auth@chotuve_auth_db/chotuve_auth"
PORT: 26080
CHOTUVE_APP_URL: ${CHOTUVE_APP_URL:-http://chotuve_app:28080}
CHOTUVE_MEDIA_URL: ${CHOTUVE_MEDIA_URL:-http://chotuve_media:27080}
CHOTUVE_AUTH_ADMIN_USUARIO: ${CHOTUVE_AUTH_ADMIN_USUARIO:-}
CHOTUVE_AUTH_ADMIN_CLAVE: ${CHOTUVE_AUTH_ADMIN_CLAVE:-}
IGNORAR_APP_SERVER_TOKEN: ${IGNORAR_APP_SERVER_TOKEN:-1}
ports:
- ${CHOTUVE_AUTH_PORT:-26080}:26080
links:
- chotuve_auth_db
networks:
- default
- chotuve
chotuve_auth_db:
image: postgres
environment:
POSTGRES_DB: chotuve_auth
POSTGRES_USER: chotuve_auth
POSTGRES_PASSWORD: chotuve_auth
volumes:
- chotuve_auth_db:/var/lib/postgresql/data
volumes:
chotuve_auth_db:
networks:
chotuve:
external: true