Hey there
I tried to install restyaboard on my synology. But I keep having problems to get it running. I created the following docker-compose file:
The restya container cant connect to the postgres container:
Maybe it is just a thing, but I do not get it right. Do you have a hint for me?
Kind regards!
I tried to install restyaboard on my synology. But I keep having problems to get it running. I created the following docker-compose file:
YAML:
version: '2.2'
services:
restyaboard_app:
image: restyaplatform/restyaboard:v0.6.7
networks:
private: {}
container_name: restyaboard_app
environment:
POSTGRES_DB: restyaboard
POSTGRES_HOST: postgres
POSTGRES_PASSWORD: admin
POSTGRES_USER: admin
TZ: 'Europe/Berlin'
PUID: 1043
PGID: 100
volumes:
- /volume1/docker/restya/app:/usr/share/nginx/html/media
ports:
- "6059:80"
restart: unless-stopped
restyaboard_db:
image: postgres:12.2-alpine
container_name: restyaboard_db
networks:
private:
stop_grace_period: 1m30s
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_DB: restyaboard
POSTGRES_HOST: postgres
POSTGRES_PASSWORD: admin
POSTGRES_USER: admin
volumes:
- /volume1/docker/restya/db/data:/var/lib/postgresql/data
restart: unless-stopped
networks:
private: {}
The restya container cant connect to the postgres container:
psql: could not translate host name "postgres" to address: No address associated with hostname
Maybe it is just a thing, but I do not get it right. Do you have a hint for me?
Kind regards!