services: bottin_db: image: 'postgres:16' environment: POSTGRES_USER: 'bottin' POSTGRES_PASSWORD: 'bottin' restart: 'unless-stopped' bottin_api: depends_on: - 'bottin_db' image: 'git.agecem.com/bottin/bottin:acceptance' build: context: '../../../external/bottin/' dockerfile: './deployments/docker/bottin/Dockerfile' environment: BOTTIN_SERVER_API_POSTGRES_USER: 'bottin' BOTTIN_SERVER_API_POSTGRES_PASSWORD: 'bottin' BOTTIN_SERVER_API_POSTGRES_HOST: 'bottin_db' restart: 'unless-stopped' command: ['bottin', 'server', 'api'] bottinagenda_db: image: 'postgres:16' environment: POSTGRES_USER: 'bottinagenda' POSTGRES_PASSWORD: 'bottinagenda' restart: 'unless-stopped' bottinagenda_api: depends_on: - 'bottinagenda_db' - 'bottin_api' image: 'git.agecem.com/bottin/bottinagenda:acceptance' build: context: '../../../' dockerfile: './deployments/docker/bottinagenda/Dockerfile' environment: BOTTINAGENDA_SERVER_API_POSTGRES_USER: 'bottinagenda' BOTTINAGENDA_SERVER_API_POSTGRES_PASSWORD: 'bottinagenda' BOTTINAGENDA_SERVER_API_POSTGRES_HOST: 'bottinagenda_db' BOTTINAGENDA_BOTTIN_API_HOST: 'bottin_api' command: ['bottinagenda', 'server', 'api'] test: depends_on: - 'bottinagenda_api' image: 'git.agecem.com/bottin/bottinagenda:src' build: context: '../../../' dockerfile: './deployments/docker/src/Dockerfile' command: ['go', 'test', '-v', './pkg/bottinagenda/']