-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 936 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (36 loc) · 936 Bytes
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
services:
redis:
restart: always
image: redis:7-alpine
networks:
internal_network:
aliases:
- redis
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
volumes:
- micropublish-redis:/data
web:
build: .
restart: always
networks:
- external_network
- internal_network
ports:
- '9292:9292'
environment:
REDIS_URL: 'redis://redis:6379'
COOKIE_SECRET: ${COOKIE_SECRET:-super_secret_and_super_unique_and_super_random_jkafhakdhaskhdakdncaskjhadljfaskdbnl}
RACK_ENV: ${RACK_ENV:-production}
DEV_ME: ${DEV_ME:-http://localhost:4000}
DEV_MICROPUB: ${DEV_MICROPUB:-http://localhost:8000/micropub}
DEV_SCOPE: ${DEV_SCOPE:-create update delete undelete}
DEV_TOKEN: ${DEV_TOKEN:-}
depends_on:
- redis
networks:
external_network:
internal_network:
internal: true
volumes:
micropublish-redis: