-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
33 lines (30 loc) · 1.17 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
version: '3.7'
services:
cheshire-cat-core:
build:
context: ./core
container_name: cheshire_cat_core
# Uncomment the two lines below to use your .env (see .env.example)
#env_file:
# - .env
ports:
- ${CCAT_CORE_PORT:-1865}:80
- 5678:5678 # only for development purposes (take away in production)
extra_hosts:
- "host.docker.internal:host-gateway" # This add an entry to /etc/hosts file in the container mapping host.docker.internal to the host machine IP addr, allowing the container to access services running on the host, not only on Win and Mac but also Linux. See https://docs.docker.com/desktop/networking/#i-want-to-connect-from-a-container-to-a-service-on-the-host and https://docs.docker.com/reference/cli/docker/container/run/#add-host
environment:
# Timezone
- TZ=${CCAT_TIMEZONE:-UTC}
volumes:
- ./core:/app
command:
- python
- "-m"
- "cat.main"
restart: unless-stopped
r-env:
build: https://github.com/dejan94it/cc_Rtools.git#main:plumber_container
container_name: r_env
expose:
- "5079:5000"
restart: unless-stopped