42 lines
901 B
YAML
42 lines
901 B
YAML
services:
|
|
aspnet-prison-prod:
|
|
container_name: aspnet-prison-prod
|
|
image: trazo-aspnet-prod
|
|
ports:
|
|
- "5233:8080"
|
|
networks:
|
|
- aspnet-network
|
|
|
|
aspnet-postgres:
|
|
image: postgres:latest
|
|
container_name: aspnet-postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_DB: postgres
|
|
POSTGRES_USER: root
|
|
POSTGRES_PASSWORD: root
|
|
PGDATA: /var/lib/postgresql/data
|
|
# ports:
|
|
# - '5432:5432'
|
|
networks:
|
|
- aspnet-network
|
|
|
|
aspnet-pgadmin4:
|
|
image: elestio/pgadmin:latest
|
|
container_name: aspnet-pgadmin
|
|
restart: always
|
|
environment:
|
|
PGADMIN_DEFAULT_EMAIL: admin@admin.com
|
|
PGADMIN_DEFAULT_PASSWORD: admin
|
|
PGADMIN_LISTEN_PORT: 8080
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- ./servers.json:/pgadmin4/servers.json
|
|
networks:
|
|
- aspnet-network
|
|
|
|
networks:
|
|
aspnet-network:
|
|
driver: bridge
|