Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.2'
- networks:
- spirit-cluster:
- driver: bridge
- spirit-backend:
- driver: bridge
- services:
- server:
- image: docker-registry.emundo.eu/eon/spirit/server/server
- build: ./docker/server
- container_name: spirit-server
- hostname: server
- volumes:
- - type: bind
- source: /home/emundo/eon/spirit/server/csv
- target: /csv
- ports:
- - "8080:8080"
- expose:
- - 8080
- depends_on:
- - postgres
- - mail-dummy
- networks:
- spirit-cluster:
- aliases:
- - server
- spirit-backend:
- aliases:
- - server
- postgres:
- image: docker-registry.emundo.eu/eon/spirit/server/postgres
- build: ./docker/postgres
- container_name: spirit-server-postgres
- hostname: postgres
- volumes:
- - type: volume
- source: /home/emundo/eon/spirit/server/postgresql/data
- target: /var/lib/postgresql/data
- ports:
- - "5432:5432"
- environment:
- TZ: CET
- POSTGRES_DB: spirit
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: XlQIppEarQ6
- expose:
- - 5432
- networks:
- spirit-backend:
- aliases:
- - postgres
- mail-dummy:
- image: docker-registry.emundo.eu/eon/spirit/server/mail-dummy
- build: ./docker/mail-dummy
- container_name: spirit-server-mail-dummy
- hostname: mail-dumy
- ports:
- - "1025:1025"
- - "1080:1080"
- networks:
- spirit-backend:
- aliases:
- - mail-dummy
- sftp:
- image: docker-registry.emundo.eu/eon/spirit/server/sftp
- build: ./docker/sftp
- container_name: spirit-server-sftp
- hostname: sftp
- volumes:
- - type: bind
- source: /home/emundo/eon/spirit/server/csv
- target: /csv
- ports:
- - "2222:22"
- expose:
- - 2222
- command: foo:123:1001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement