Install Dua Neo Feeder di Dua Server Dengan Docker
Edit Yml nya saja.
===================
version: '3'
services:
#Web Service
app-pddikti2:
build:
context: .
dockerfile: Dockerfile
image: pddikti/new_feeder
container_name: app-pddikti2
restart: unless-stopped
tty: true
environment:
TZ: "Asia/Jakarta"
SERVICE_NAME: "app"
SERVICE_TAGS: "1.0.5"
PGHOST: "localhost"
PGPORT: 54322
volumes:
- './app:/app'
- './prefill_pddikti:/prefill_pddikti'
- './nginx/nginx.conf:/etc/nginx/nginx.conf'
- './nginx/logs/access.log:/var/log/nginx/access.log'
- './nginx/logs/error.log:/var/log/nginx/error.log'
networks:
- app-network
ports:
- "8122:8100"
- "3022:3003"
depends_on:
- db-pddikti2
#PgSQL Service
db-pddikti2:
image: postgres:12
container_name: db-pddikti2
environment:
TZ: "Asia/Jakarta"
restart: unless-stopped
tty: true
ports:
- "54322:54333"
volumes:
- './pgsql/data:/var/lib/postgresql/data'
networks:
- app-network
#Docker Networks
networks:
app-network:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.167.151.0/24
Lanjut Part : 1
Muhammad Ullil Fahri
WA : 089696380422
Tautan WA : https://wa.me/message/SG4YA2XQP5FPE1