generated from sapphiredev/sapphire-template
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (32 loc) · 652 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (32 loc) · 652 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
services:
redis:
command: 'redis-server --requirepass redis'
container_name: spinel-redis
image: 'redis:alpine'
ports:
- '6379:6379'
restart: always
logging:
options:
max-size: '20m'
max-file: '3'
spinel:
image: ghcr.io/sapphiredev/spinel:latest
container_name: spinel
depends_on:
- redis
restart: unless-stopped
build: ./
environment:
PORT: 8000
REDIS_PORT: 6379
REDIS_HOST: redis
env_file:
- '.env.development.local'
ports:
- '8000:8000'
logging:
options:
max-size: '1g'
max-file: '3'
tty: true