a year 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:
POSTGRESUSER: airflow POSTGRESPASSWORD: airflow
POSTGRESDB: airflow volumes: - postgres-db-volume:/var/lib/postgresql/data healthcheck: test: ["CMD", "pgisready", "-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.
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
a year 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.