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

Podman support #213

Open
weeman1337 opened this issue Aug 26, 2023 · 3 comments
Open

Podman support #213

weeman1337 opened this issue Aug 26, 2023 · 3 comments

Comments

@weeman1337
Copy link
Contributor

weeman1337 commented Aug 26, 2023

It would be great if nextcloud-docker-dev supports Podman. I can do some research on this.

Workaround:

⚠️ May vary depending on your system

Add 127.0.0.1 nextcloud.local to /etc/hosts.

Permit use of port 80:

sudo sysctl net.ipv4.ip_unprivileged_port_start=80

Remove this from the services in use

    extra_hosts:
      - host.docker.internal:host-gateway

(issue)

Remove/disable mount of additional.config.php from the compose file:

      # - ./data/additional.config.php:/var/www/html/config/additional.config.php:ro

Share port 80 from the nextcloud service

    ports:
      - "80:80"

Start nextcloud and the database

podman compose up database-mysql nextcloud

The dev environment should be available under http://nextcloud.local/

@juliusknorr
Copy link
Owner

For sure that would be nice. First one would probably need some variable in the .env file, the second one I'm not sure, but containers/podman#8466 looks like it should already be there.

@weeman1337

This comment was marked as outdated.

@weeman1337

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants