diff --git a/docker-compose.yml b/docker-compose.yml index 039b42d..a1db8f2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ services: - web: + app: build: context: . dockerfile: Dockerfile @@ -8,8 +8,7 @@ services: - s3 restart: unless-stopped networks: - - web - - nginx + - nginx_default db: image: postgres:16 restart: unless-stopped @@ -19,8 +18,6 @@ services: POSTGRES_DB: ${DATABASE_NAME} volumes: - ./data/db:/var/lib/postgresql/data - networks: - - web s3: image: bitnami/minio:2024 restart: unless-stopped @@ -30,10 +27,6 @@ services: MINIO_DEFAULT_BUCKETS: ${STORAGE_NAME} volumes: - ./data/s3:/bitnami/minio/data - networks: - - web networks: - web: - driver: bridge - nginx: + nginx_default: external: true