-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
45 lines (45 loc) · 1.04 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
services:
postgres:
container_name: postgres
image: postgres
networks:
- openamtnetwork1
volumes:
- pg-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: "postgresadmin"
POSTGRES_PASSWORD: "admin123"
POSTGRES_DB: "rpsdb"
ports:
- 5432:5432
app:
build: .
container_name: app
image: app
networks:
- openamtnetwork1
env_file:
- .env
environment:
APP_ENCRYPTION_KEY: "Jf3Q2nXJ+GZzN1dbVQms0wbB4+i/5PjL" # This is a test encryption key for the app
HTTP_HOST: ""
GIN_MODE: "debug"
DB_URL: "postgres://postgresadmin:admin123@postgres:5432/rpsdb"
APP_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:
openamtnetwork1:
driver: "bridge"