Open ghost opened 1 year ago
I think that you need to specify the :z
option for your volumes. I believe that will strip away some selinux context that might be breaking your startup.
Here is my docker-compose file FYI:
---
version: '3.7'
services:
smp-server:
image: smp-server:latest
container_name: smp
restart: unless-stopped
ports:
- 5223:5223
volumes:
- ./config:/etc/opt/simplex:z
- ./logs:/var/opt/simplex:z
environment:
- pass=${PASSWORD}
- addr=${HOSTNAME}
I think that you need to specify the
:z
option for your volumes. I believe that will strip away some selinux context that might be breaking your startup.Here is my docker-compose file FYI:
--- version: '3.7' services: smp-server: image: smp-server:latest container_name: smp restart: unless-stopped ports: - 5223:5223 volumes: - ./config:/etc/opt/simplex:z - ./logs:/var/opt/simplex:z environment: - pass=${PASSWORD} - addr=${HOSTNAME}
@GoofyAF, can you drop the actual Entrypoint configuration you have to enable the docker compose setup? For me, the image doesn't complete a full start up and loops indefinitely.
I am using Simplex 4.3 beta to check if I have connection to my self hosted local docker server but I cannot pass the check. I used the following docker commands:
Then
smp-server init
andsmp-server start
. Then trying to connect withsmp://fingerprint@192.168.2.57
. I think a docker-compose would be helpful for newcomers like myself. Thanks