Hello,
I try to install drone ans gitea on my synology NAS with docker but my configuration is not good.
I have create a docker-compose.yml
:
version: "3.8"
networks:
gitea:
external: false
services:
gitea:
image: gitea/gitea:1.15.3
container_name: gitea
restart: unless-stopped
ports:
- "3000:3000"
- "2223:22"
environment:
TZ: Europe/London
RUN_MODE: prod
volumes:
- gitea:/data
networks:
- gitea
drone-ci:
image: drone/drone:2.4.0
container_name: drone-ci
restart: unless-stopped
ports:
- 89:80
- 444:443
depends_on:
- gitea
environment:
DRONE_GITEA_SERVER: http://maria.local:3000
DRONE_GITEA_CLIENT_ID: ******SECRET*******
DRONE_GITEA_CLIENT_SECRET: ******SECRET*******
DRONE_RPC_SECRET: ******SECRET*******
DRONE_HOST: http://maria.local:89
DRONE_SERVER_PROTO: http
DRONE_SERVER_HOST: maria:89
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- drone:/var/lib/drone/
networks:
- gitea
volumes:
gitea:
drone:
networks:
gitea:
name: gitea
drone:
name: drone
All my container run perfectly but when i open drone page, i see network call to gitea (in debug mode) and then, i got an error :
Post "http://maria.local:3000/login/oauth/access_token": dial tcp: lookup maria.local on 127.0.0.11:53: no such host
I don’t understand this error because the IP 127.0.0.11
is not into my docker network gitea
.
Any idea ?