Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- postgres:
- image: postgres:9.5
- restart: always
- environment:
- - POSTGRES_USER=${POSTGRES_USER-root}
- - POSTGRES_PASSWORD=${POSTGRES_PASSWORD-root}
- - POSTGRES_DB=gogs
- volumes:
- - "gogs-db-data:/var/lib/postgresql/data"
- gogs:
- image: gogs/gogs:0.11.34
- restart: always
- ports:
- - "10022:22"
- - "3000:3000"
- depends_on:
- - postgres
- environment:
- - "RUN_CROND=true"
- volumes:
- - "gogs-data:/data"
- depends_on:
- - postgres
- networks:
- default:
- external:
- name: dev_bridge
- volumes:
- gogs-db-data:
- driver: local
- gogs-data:
- driver: local
Add Comment
Please, Sign In to add comment