ERROR: The EULA was not accepted
vhyen
TRIALOP

2 years ago

I set the build command as docker compose up to build the docker-compose.yaml for my project. This include postgres service as below:

postgres:

image: postgres:13

environment:

POSTGRES_USER: airflow

POSTGRES_PASSWORD: airflow

POSTGRES_DB: airflow

volumes:

- postgres-db-volume:/var/lib/postgresql/data

healthcheck:

test: ["CMD", "pg_isready", "-U", "airflow"]

interval: 10s

retries: 5

start_period: 5s

restart: always

ports:

- 5432:5432

and when installing packages for this, it produces error

ERROR: The EULA was not accepted

I have been searching around and also set the environment variable ACCEPT_EULA=Y, but it does not work. Please help me look into this, thanks a lot.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

1 Replies

2 years ago

Railway does not support docker compose, setting your build command as `docker compose up` will not work, you would need to depploy all the services in your docker compose file as separate railway services within your project.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...