-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
43 lines (42 loc) · 1.29 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
---
services:
musicbot_prod:
container_name: musicbot-prod
image: "edgedb/edgedb:5.7"
restart: always
ports:
- 5656:5656
environment:
EDGEDB_DOCKER_LOG_LEVEL: warning
EDGEDB_SERVER_ADMIN_UI: enabled
EDGEDB_SERVER_TLS_CERT_MODE: generate_self_signed
EDGEDB_SERVER_SECURITY: insecure_dev_mode
EDGEDB_SERVER_HTTP_ENDPOINT_SECURITY: optional
EDGEDB_SERVER_BINARY_ENDPOINT_SECURITY: optional
EDGEDB_SERVER_USER: musicbot
EDGEDB_SERVER_PASSWORD: musicbot
volumes:
- ./dbschema:/dbschema
- ./credentials:/root/.config/edgedb/credentials
- musicbot-prod-data:/var/lib/edgedb/data
musicbot_test:
container_name: musicbot-test
image: "edgedb/edgedb:5.7"
restart: always
ports:
- 5657:5656
environment:
EDGEDB_DOCKER_LOG_LEVEL: debug
EDGEDB_SERVER_SECURITY: insecure_dev_mode
EDGEDB_SERVER_TLS_CERT_MODE: generate_self_signed
EDGEDB_SERVER_ADMIN_UI: enabled
EDGEDB_SERVER_USER: testuser
EDGEDB_SERVER_PASSWORD: testpass
EDGEDB_SERVER_HTTP_ENDPOINT_SECURITY: optional
EDGEDB_SERVER_BINARY_ENDPOINT_SECURITY: optional
volumes:
- ./dbschema:/dbschema
- musicbot-test-data:/var/lib/edgedb/data
volumes:
musicbot-prod-data:
musicbot-test-data: