services: onedev: image: 1dev/server:11.8.7 restart: unless-stopped networks: onedev_migrated_network: gw_priority: 0 tipi_main_network: gw_priority: 1 environment: hibernate_dialect: io.onedev.server.persistence.PostgreSQLDialect hibernate_connection_driver_class: org.postgresql.Driver hibernate_connection_url: jdbc:postgresql://onedev-db:5432/onedev hibernate_connection_username: tipi hibernate_connection_password: ${ONEDEV_DB_PASSWORD} initial_user: ${ONEDEV_USERNAME} initial_password: ${ONEDEV_PASSWORD} initial_email: ${ONEDEV_EMAIL} initial_server_url: ${APP_DOMAIN} ports: - 6611:6611 - ${APP_PORT}:6610 volumes: - ${APP_DATA_DIR}/data/onedev:/opt/onedev - /var/run/docker.sock:/var/run/docker.sock depends_on: - onedev-db labels: generated: true traefik.enable: true traefik.docker.network: runtipi_tipi_main_network traefik.http.middlewares.onedev-migrated-web-redirect.redirectscheme.scheme: https traefik.http.services.onedev-migrated.loadbalancer.server.port: "6610" traefik.http.routers.onedev-migrated-insecure.rule: Host(`${APP_DOMAIN}`) traefik.http.routers.onedev-migrated-insecure.entrypoints: web traefik.http.routers.onedev-migrated-insecure.service: onedev-migrated traefik.http.routers.onedev-migrated-insecure.middlewares: onedev-migrated-web-redirect traefik.http.routers.onedev-migrated.rule: Host(`${APP_DOMAIN}`) traefik.http.routers.onedev-migrated.entrypoints: websecure traefik.http.routers.onedev-migrated.service: onedev-migrated traefik.http.routers.onedev-migrated.tls.certresolver: myresolver runtipi.managed: true onedev-db: image: postgres:14 restart: unless-stopped networks: onedev_migrated_network: gw_priority: 0 environment: POSTGRES_USER: tipi POSTGRES_PASSWORD: ${ONEDEV_DB_PASSWORD} POSTGRES_DB: onedev volumes: - ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data labels: runtipi.managed: true networks: tipi_main_network: name: runtipi_tipi_main_network external: true onedev_migrated_network: external: false ipam: config: - subnet: 10.128.50.0/24