diff --git a/docker-compose.yml b/docker-compose.yml index 90364d8..d9ce4a0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,3 +1,5 @@ +include: + - docker-compose-deps.yml services: fred: depends_on: @@ -16,27 +18,4 @@ services: FRED_SQL_HOST: postgres FRED_SQL_PORT: 5432 ports: - - "80:80" - - postgres: - image: postgres:14.0-alpine - environment: - POSTGRES_PASSWORD: fred - POSTGRES_USER: fred - PGDATA: /var/lib/postgresql/data/pgdata - volumes: - - pgdata:/var/lib/postgresql/data/pgdata:z - - ./docker/exampledb.sql:/docker-entrypoint-initdb.d/exampledb.sql - - pgadmin: - depends_on: - - postgres - image: dpage/pgadmin4:6 - environment: - PGADMIN_DEFAULT_EMAIL: 'fred@fred.com' - PGADMIN_DEFAULT_PASSWORD: 'fred' - ports: - - "8080:80" - -volumes: - pgdata: \ No newline at end of file + - "80:80" \ No newline at end of file