payment-poc/docker-compose-deploy.yml

28 lines
616 B
YAML
Raw Normal View History

2023-07-06 11:29:06 +00:00
version: '3.1'
services:
backend:
2023-07-26 07:51:29 +00:00
image: registry.s2internal.com/opgdirekt/payment-poc/backend:latest
2023-07-06 11:29:06 +00:00
restart: on-failure
depends_on:
- database
ports:
- "5281:5281"
networks:
2023-07-10 08:10:13 +00:00
- payment-poc
2023-07-06 11:29:06 +00:00
env_file:
- .env.docker
database:
image: postgres:14
ports:
- "5432:5432"
environment:
2023-07-10 08:10:13 +00:00
- POSTGRES_USER=payment-poc
- POSTGRES_PASSWORD=paymentPassword
- POSTGRES_DB=payment-poc
2023-07-06 11:29:06 +00:00
networks:
2023-07-10 08:10:13 +00:00
- payment-poc
2023-07-06 11:29:06 +00:00
networks:
2023-07-10 08:10:13 +00:00
payment-poc: