-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
36 lines (35 loc) · 978 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
version: '3'
services:
web:
build: .
environment:
FLASK_ENV: development
SERVER_NAME: manager.com:5000
OAUTHLIB_INSECURE_TRANSPORT: 1
GOOGLE_APPLICATION_CREDENTIALS: /code/gcloud-credentials.json
volumes:
- .:/code
ports:
- "5000:5000"
redis:
container_name: redis
image: redis
ports:
- "6379:6379"
restart: always
huey:
# Huey needs the same code and packages as the web container (because it runs a lot of the code through import statements)
build: .
volumes:
- .:/code
# Not sure what this is exactly but nothing works without it
- /dev/shm:/dev/shm
command: huey_consumer app.huey
depends_on:
- redis
sass:
image: danmaq/ruby-sass
volumes:
- .:/code
# Watch for changes to the sass folder and recompile sass on any changes
command: sass --style compressed --watch /code/app/sass/main.scss:/code/app/static/styles/main.css