| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- version: '3.3'
- services:
- keystone:
- build: .
- #user: "node"
- #working_dir: /home/node/app
- #environment:
- #- NODE_ENV=development
- #- DISABLE_LOGGING=false
- volumes:
- - .:/home/node/app
- - node_modules:/home/node/app/node_modules
- # command: ["yarn", "dev"]
- # command: ["tail", "-f", "/etc/passwd"]
- command: ["/home/node/app/node_modules/.bin/keystone", "--entry", "index.js"]
- links:
- - postgres
- ports:
- - "3230:3000"
- expose:
- - "3050"
- - "3000"
- restart: always
- #labels:
- # - "traefik.backend=node"
- # - "traefik.backend.port=3000"
- # - "traefik.frontend.rule=Host:kdev.jubilerschubert.pl,www.kdev.jubilerschubert.pl"
- # - "traefik.frontend.SSLRedirect=true"
- # - "traefik.frontend.SSLHost=kdev.jubilerschubert.pl"
- # - "traefik.frontend.SSLForceHost=true"
- # - "traefik.docker.networks=web"
- # - "traefik.enable=true"
- #command: "npm start"
- networks:
- - default
- - web
- postgres:
- image: postgres:13
- restart: always
- environment:
- POSTGRES_PASSWORD: utnQ67pt74bVw6aB
- POSTGRES_DB: kdev_postgres
- POSTGRES_USER: kdev_postgres
- volumes:
- - /mnt/storage/kdev/db:/var/lib/postgresql/data
- ports:
- - "5432:5432"
- networks:
- - default
- # phppgadmin:
- # restart: always
- # image: dockage/phppgadmin:latest
- # #ports:
- # #- "80:80"
- # #- "443:443"
- # environment:
- # - PHP_PG_ADMIN_SERVER_DESC=PostgreSQL
- # - PHP_PG_ADMIN_SERVER_HOST=postgres
- # - PHP_PG_ADMIN_SERVER_PORT=5432
- # - PHP_PG_ADMIN_SERVER_SSL_MODE=allow
- # - PHP_PG_ADMIN_SERVER_DEFAULT_DB=template1
- # - PHP_PG_ADMIN_SERVER_PG_DUMP_PATH=/usr/bin/pg_dump
- # - PHP_PG_ADMIN_SERVER_PG_DUMPALL_PATH=/usr/bin/pg_dumpall
- # - PHP_PG_ADMIN_DEFAULT_LANG=auto
- # - PHP_PG_ADMIN_AUTO_COMPLETE=default on
- # - PHP_PG_ADMIN_EXTRA_LOGIN_SECURITY=false
- # - PHP_PG_ADMIN_OWNED_ONLY=false
- # - PHP_PG_ADMIN_SHOW_COMMENTS=true
- # - PHP_PG_ADMIN_SHOW_ADVANCED=false
- # - PHP_PG_ADMIN_SHOW_SYSTEM=false
- # - PHP_PG_ADMIN_MIN_PASSWORD_LENGTH=1
- # - PHP_PG_ADMIN_LEFT_WIDTH=200
- # - PHP_PG_ADMIN_THEME=default
- # - PHP_PG_ADMIN_SHOW_OIDS=false
- # - PHP_PG_ADMIN_MAX_ROWS=30
- # - PHP_PG_ADMIN_MAX_CHARS=50
- # - PHP_PG_ADMIN_USE_XHTML_STRICT=false
- # - PHP_PG_ADMIN_HELP_BASE=http://www.postgresql.org/docs/%s/interactive/
- # - PHP_PG_ADMIN_AJAX_REFRESH=3
- # labels:
- # - "traefik.backend=phppgadmin"
- # - "traefik.backend.port=80"
- # - "traefik.frontend.rule=Host:pkdev.jubilerschubert.pl,www.pkdev.jubilerschubert.pl"
- # - "traefik.frontend.SSLRedirect=true"
- # - "traefik.frontend.SSLHost=pkdev.jubilerschubert.pl"
- # - "traefik.frontend.SSLForceHost=true"
- # - "traefik.frontend.redirect.permanent=true"
- # - "traefik.docker.networks=web"
- # - "traefik.enable=true"
- # networks:
- # - default
- # - web
- networks:
- default:
- external: false
- web:
- external: true
- volumes:
- node_modules:
|