This is my docker-compose.yml file
version: '3'
services:
age:
image: apache/age
container_name: myAge
ports:
- "5555:5555"
volumes:
- age-data:/var/lib/age
depends_on:
- db
command: ["age-server", "--host", "0.0.0.0", "--port", "5432", "--store", "postgresql://postgresUser:postgresPW@db/postgresDB"]
db:
image: postgres
container_name: myPostgresDb
restart: always
environment:
POSTGRES_USER: postgresUser
POSTGRES_PASSWORD: postgresPW
POSTGRES_DB: postgresDB
volumes:
- db-data:/var/lib/postgresql/data
volumes:
age-data:
db-data:
PostgreSQL is up but apache is give me the following error
myAge | /usr/local/bin/docker-entrypoint.sh: line 322: exec: age-server: not found
myAge exited with code 127
I am new to docker, but I have tried rewriting the commands but it didn't work Thanks in advance for the help!