version: "3.6" networks: gitea: external: true services: server: image: gitea/gitea:1.13.2 container_name: gitea environment: USER_UID: 1000 USER_GID: 1000 DB_TYPE: postgres DB_HOST: 10.0.0.2:5432 DB_NAME: zpzc-s434686-db DB_USER: zpzc-s434686-user DB_PASSWD: zpzc-s434686-password restart: always networks: - gitea volumes: - ./gitea:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: - "443:443" - "222:22"