25 lines
577 B
YAML
25 lines
577 B
YAML
name: petwash
|
|
|
|
services:
|
|
petwash-api:
|
|
build:
|
|
context: .
|
|
dockerfile: PetWash.Api/Dockerfile
|
|
container_name: petwash-api
|
|
ports:
|
|
- "5000:80"
|
|
environment:
|
|
- ASPNETCORE_ENVIRONMENT=Production
|
|
- DatabaseProvider=MySql
|
|
- ConnectionStrings__MySqlConnection=Server=101.132.182.216;Database=petwash;User=sc_root;Password=Shsc#$@2024#@!;Port=3306;CharSet=utf8mb4;AllowPublicKeyRetrieval=True;
|
|
restart: unless-stopped
|
|
networks:
|
|
- petwash-network
|
|
|
|
volumes:
|
|
petwash-data:
|
|
|
|
networks:
|
|
petwash-network:
|
|
driver: bridge
|