Created
July 5, 2021 15:13
-
-
Save renaudmathieu/734e0c12991cfd7bf751111101f23233 to your computer and use it in GitHub Desktop.
ktor_part3_dockercompose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For development purpose only | |
version: "3.7" | |
services: | |
postgres: | |
image: postgres:12-alpine | |
restart: always | |
environment: | |
POSTGRES_DB: postgres | |
POSTGRES_USER: admin | |
POSTGRES_PASSWORD: admin | |
PGDATA: /var/lib/postgresql/data | |
volumes: | |
- postgres-data:/var/lib/postgresql/data | |
ports: | |
- "5432:5432" | |
pgadmin: | |
image: dpage/pgadmin4:4.25 | |
restart: always | |
environment: | |
PGADMIN_DEFAULT_EMAIL: jobs@innovorder.fr | |
PGADMIN_DEFAULT_PASSWORD: admin | |
PGADMIN_LISTEN_PORT: 80 | |
ports: | |
- "8088:80" | |
volumes: | |
- pgadmin-data:/var/lib/pgadmin | |
links: | |
- "postgres:pgsql-server" | |
volumes: | |
postgres-data: | |
pgadmin-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment