Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: compatibility with rootless podman and selinux #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ services:
db:
# restart: always
image: mariadb:10
security_opt: label=disable
command: --default-authentication-plugin=mysql_native_password
volumes:
- openxpkidb:/var/lib/mysql
- openxpkidbsocket:/var/run/mysqld/
- ./openxpki-config/contrib/sql/schema-mariadb.sql:/docker-entrypoint-initdb.d/schema-mariadb.sql
- ./openxpki-config/contrib/sql/schema-mariadb.sql:/docker-entrypoint-initdb.d/schema-mariadb.sql:z
environment:
MYSQL_DATABASE: openxpki
MYSQL_USER: openxpki
Expand All @@ -18,9 +19,10 @@ services:
openxpki-server:
# restart: always
image: whiterabbitsecurity/openxpki3
security_opt: label=disable
command: /usr/bin/openxpkictl start --no-detach
volumes:
- ./openxpki-config:/etc/openxpki
- ./openxpki-config:/etc/openxpki:z
- openxpkilog:/var/log/openxpki
- openxpkisocket:/var/openxpki/
- openxpkidbsocket:/var/run/mysqld/
Expand All @@ -33,12 +35,13 @@ services:
openxpki-client:
# restart: always
image: whiterabbitsecurity/openxpki3
security_opt: label=disable
command: /usr/bin/start-apache
ports:
- "8080:80/tcp"
- "8443:443/tcp"
volumes:
- ./openxpki-config:/etc/openxpki
- ./openxpki-config:/etc/openxpki:z
- openxpkilog:/var/log/openxpki
- openxpkisocket:/var/openxpki/
- openxpkidbsocket:/var/run/mysqld/
Expand Down