-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
26 lines (25 loc) · 746 Bytes
/
docker-compose.yml
File metadata and controls
26 lines (25 loc) · 746 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
# You don't usually need to edit this file.
# If it does not fit your personal use case, docker-compose.override.yml is a preferred way to go.
version: '3'
services:
redis:
image: redis:7
container_name: slothpixel-redis
core:
build:
context: .
dockerfile: Dockerfile
image: slothpixel/core
# Override this command with your script if existing does not fit your needs
entrypoint: bash docker/main-launch.sh
ports:
- "5000:5000"
- "5100:5100"
environment:
REDIS_URL: redis://slothpixel-redis:6379/0
REDIS_TEST_URL: redis://slothpixel-redis:6379/1
volumes:
- .:/usr/src
links:
- redis
container_name: slothpixel-core