services: app: build: . ports: - "1664:1664" volumes: - /etc/cpolis/config.toml:/etc/cpolis/config.toml - /etc/cpolis/serviceAccountKey.json:/etc/cpolis/serviceAccountKey.json - /var/log/cpolis.log:/var/log/cpolis.log depends_on: - db environment: DB_USER: cpolis DB_PASS: ${DB_PASS} db: image: mariadb:11.6 environment: MYSQL_ROOT_PASSWORD: ${DB_PASS} MYSQL_DATABASE: cpolis MYSQL_USER: cpolis MYSQL_PASSWORD: ${DB_PASS} ports: - "3306:3306" volumes: - ./create_db.sql:/docker-entrypoint-initdb.d/create_db.sql