-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (57 loc) · 1.29 KB
/
docker-compose.yml
File metadata and controls
57 lines (57 loc) · 1.29 KB
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
55
56
57
services:
vault:
image: hashicorp/vault
networks:
- dmtnetwork1
ports:
- '8200:8200'
environment:
VAULT_DEV_ROOT_TOKEN_ID: myroot
VAULT_DEV_LISTEN_ADDRESS: 0.0.0.0:8200
cap_add:
- IPC_LOCK
postgres:
container_name: postgres
image: postgres
networks:
- dmtnetwork1
volumes:
- pg-data:/var/lib/postgresql
environment:
POSTGRES_USER: "postgresadmin"
POSTGRES_PASSWORD: "admin123"
POSTGRES_DB: "rpsdb"
ports:
- 5432:5432
app:
build: .
container_name: app
image: app
networks:
- dmtnetwork1
env_file:
- .env
environment:
APP_ENCRYPTION_KEY: "Jf3Q2nXJ+GZzN1dbVQms0wbB4+i/5PjL" # This is a test encryption key for the app
HTTP_HOST: ""
HTTP_TLS_ENABLED: "false"
GIN_MODE: "debug"
DB_URL: "postgres://postgresadmin:admin123@postgres:5432/rpsdb"
AUTH_DISABLED: true
ports:
- 8181:8181
depends_on:
- postgres
# integration:
# build:
# context: .
# dockerfile: integration-test/Dockerfile
# container_name: integration
# image: integration
# depends_on:
# - app
volumes:
pg-data:
networks:
dmtnetwork1:
driver: "bridge"