-
-
Save x4x/16072e9a055b39f1bcb36cfc821beaad to your computer and use it in GitHub Desktop.
NIPAP docker compose
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
NIPAP_USERNAME=www | |
NIPAPD_PASSWORD=nipapP4ssw0rd | |
WWW_USERNAME=admin | |
WWW_PASSWORD=123456 | |
POSTGRES_PASSWORD=S3cretDBPas5 |
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
version: '3.2' | |
services: | |
nipap-db: | |
image: nipap/postgres-ip4r | |
volumes: | |
- 'db:/var/lib/postgres/data' | |
environment: | |
- PGDATA=/var/lib/postgres/data/pgdata | |
- POSTGRES_USER=nipap | |
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD} | |
- POSTGRES_DB=nipap | |
nipapd: | |
image: 'nipap/nipapd:master' | |
depends_on: | |
- nipap-db | |
#links: | |
#- nipap-db | |
environment: | |
- DB_USERNAME=nipap | |
- DB_PASSWORD=${POSTGRES_PASSWORD} | |
- DB_HOST=nipap-db | |
- DB_NAME=nipap | |
- NIPAP_USERNAME=${NIPAP_USERNAME} | |
- NIPAP_PASSWORD=${NIPAPD_PASSWORD} | |
nipap-www: | |
image: nipap/nipap-www | |
ports: | |
- '8099:80' | |
#links: | |
#- nipapd | |
depends_on: | |
- nipap-db | |
environment: | |
- NIPAPD_USERNAME=${NIPAP_USERNAME} | |
- NIPAPD_PASSWORD=${NIPAPD_PASSWORD} | |
- WWW_USERNAME=${WWW_USERNAME} | |
- WWW_PASSWORD=${WWW_PASSWORD} | |
volumes: | |
db: | |
500:
Server Error
An internal server error occurred
popup appears all the time
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wrong name. the database is not persistent
volumes:
- ./db-data:/var/lib/
postgresql
/dataenvironment:
- PGDATA=/var/lib/
postgres
/data/pgdata