21 lines
356 B
Docker
21 lines
356 B
Docker
version: "3.6"
|
|
|
|
networks:
|
|
gitea:
|
|
external: false
|
|
|
|
services:
|
|
db:
|
|
image: postgres:9.6
|
|
restart: always
|
|
environment:
|
|
POSTGRES_USER: zpzc-s434686-user
|
|
POSTGRES_PASSWORD: zpzc-s434686-password
|
|
POSTGRES_DB: zpzc-s434686-db
|
|
volumes:
|
|
- dbdata:/var/lib/postgresql/data
|
|
networks:
|
|
- gitea
|
|
|
|
volumes:
|
|
dbdata: |