Hi, i have migrated my drone from 0.8 to 1.0. But tmpfs doesn’t work and i don’t find anything about it.
I trying something like this:
services:
- name: mysql
image: mysql:5.6
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
privileged: true
tmpfs: /var/lib/mysql
yes, you can use a temporary mount [1] and specify that it should be created in-memory, which maps to a docker tmpfs volume.
Example temporary volume on disk:
volumes:
- name: cache
temp: {}
Example temporary volume in-memory:
volumes:
- name: cache
temp:
medium: memory
[1] https://docs.drone.io/user-guide/pipeline/volumes/#temporary-mounts
1 Like
Is there any place where such configuration options are specified more in depth? In the official docs there is e.g. no mention of the medium
attribute you just used