Remove compat version. Retain previous mount path.

This commit is contained in:
Jared Goodwin 2024-02-21 10:56:02 -08:00
parent de00f41115
commit e050892c0a
3 changed files with 1 additions and 39 deletions

View File

@ -1,33 +0,0 @@
version: '3.4'
# This compose file is compatible with existing Remotely containers prior to 2024.
# In this file, the data volume is mapped to /remotely-data on the host. In the
# new file, a Docker volume is used.
# For new installations, it's recommended to use the docker-compose.yml file.
# You can migrate to the new version by copying your existing Remotelydb file
# to the Docker volume and restarting the container.
services:
remotely:
image: immybot/remotely:latest
volumes:
- /remotely-data:/app/AppData
build:
context: ../
dockerfile: Server/Dockerfile
ports:
- "5000:5000"
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_HTTP_PORTS=5000
# Other ASP.NET Core configurations can be overridden here, such as Logging.
# See https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-8.0
# Values for DbProvider are SQLite, SQLServer, and PostgreSQL.
- Remotely_ApplicationOptions__DbProvider=SQLite
# This path shouldn't be changed. It points to the Docker volume.
- Remotely_ConnectionStrings__SQLite=Data Source=/app/AppData/Remotely.db
# If using SQL Server, change the connection string to point to your SQL Server instance.
- Remotely_ConnectionStrings__SQLServer=Server=(localdb)\\mssqllocaldb;Database=Remotely-Server-53bc9b9d-9d6a-45d4-8429-2a2761773502;Trusted_Connection=True;MultipleActiveResultSets=true
# If using PostgreSQL, change the connection string to point to your PostgreSQL instance.
- Remotely_ConnectionStrings__PostgreSQL=Server=Host=localhost;Database=Remotely;Username=postgres;

View File

@ -11,7 +11,6 @@
<DockerServiceName>remotely</DockerServiceName>
</PropertyGroup>
<ItemGroup>
<None Include="docker-compose-compat.yml" />
<None Include="docker-compose.override.yml">
<DependentUpon>docker-compose.yml</DependentUpon>
</None>

View File

@ -1,14 +1,10 @@
version: '3.4'
volumes:
remotely-data:
name: remotely-data
services:
remotely:
image: immybot/remotely:latest
volumes:
- remotely-data:/app/AppData
- /var/www/remotely:/app/AppData
ports:
- "5000:5000"
environment: