-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (46 loc) · 1.48 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: "3"
services:
api:
# the application's web service (container) will use an image based on our Dockerfile
build: .
# map the internal port 80 to port 8000 on the host
ports:
- "80:80"
# map the host directory to app (which allows us to see and edit files inside the container)
# volumes:
# - ".:/app:rw"
# - "./data:/data:rw"
# the default command to run whenever the container is launched
# command: python manage.py runserver 0.0.0.0:80
# the URL 'postgres' or 'mysql' will point to the application's db service
networks:
- openapi
# env_file: .env-local
# database_default:
# # Select one of the following db configurations for the database
# image: postgres:13.5-alpine
# ports:
# - "5432:5432/tcp" # allow your local dev env to connect to the db
# environment:
# POSTGRES_DB: "db"
# POSTGRES_PASSWORD: "password"
# POSTGRES_HOST_AUTH_METHOD: "trust"
# SERVICE_MANAGER: "fsm-postgres"
# networks:
# - djangocmsnet
# volumes:
# - ".:/app:rw"
# api_graphql:
# image: hasura/graphql-engine:latest
# ports:
# - "8080:8080"
# depends_on:
# - "database_default"
# environment:
# - HASURA_GRAPHQL_DATABASE_URL=postgres://postgres:password@database_default:5432/api
# - HASURA_GRAPHQL_ENABLE_CONSOLE=true
# - HASURA_GRAPHQL_ADMIN_SECRET=123456
# networks:
# - djangocmsnet
networks:
openapi: