Skip to content

PhoneBook CRUD webapp (updated @rumkit's PhoneEdit web application from .NET Core 2.2 to 8.0)

Notifications You must be signed in to change notification settings

shashinma/PhoneEdit

 
 

Repository files navigation

PhoneEdit

.NET Docker Image CI

Deploying:

docker-compose.yml

version: '3.8'
name: rtcservices
services:
  phoneedit:
    container_name: phoneedit
    image: ghcr.io/shashinma/phoneedit:latest
    restart: unless-stopped
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - <container_port>:8080
    networks:
      phoneedit_net:
        ipv4_address: <ip_address>
    environment:
      ASPNETCORE_ENVIRONMENT: Production
      ConnectionStrings__IdentityContext: DataSource=IdentityContext.db;Cache=Shared
      ConnectionStrings__PhoneBookContext: Server=<mysql_server_ip>;Database=<mysql_db_name>;user=<username>;password=<password>
      DefaultUser__Username: <your_username>
      DefaultUser__Password: <your_password>
networks:
  phoneedit_net:
    driver: bridge
    ipam:
     config:
       - subnet: <subnet_ip>/<subnet_mask>